package com.dykj.fireFighting.server.socialUnit.buildmanger.mapper;


import com.dykj.fireFighting.api.socialUnit.buildmanger.entity.Partitions;
import com.dykj.fireFighting.common.core.mapper.SuperMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @Description 建筑管理-分区
 * @Author aixiaolan
 * @Date  2021-06-23 14:59:35
 */
public interface PartitionsMapper extends SuperMapper<Partitions> {

    @Select("select * from partitions where unit_id=#{unitId}")
    List<Partitions> getPartitionsList(@Param("unitId")String unitId);
    @Select("select * FROM `partitions` where floor_id=#{floorId}")
    List<Partitions> getPartitionsListByFloorId(@Param("floorId")String floorId);

}
